package com.sctu.edu.tracks.adapter;

public class SignUpMyTeamAdapter  {
//    Activity activity;
//    private List<MyTeamMemberBean> list = new ArrayList<>();
//
//    public SignUpMyTeamAdapter(Activity activity, List<MyTeamMemberBean> list) {
//        this.activity = activity;
//        this.list = list;
//    }
//
//    public void onDateChange(List<MyTeamMemberBean> data) {
//        this.list = data;
//        this.notifyDataSetChanged();
//    }
//
//
//    public void onDateChangeOne(MyTeamMemberBean myTeamMemberBeen) {
//
//        this.list.add(myTeamMemberBeen);
//        this.notifyDataSetChanged();
//    }
//
//    @Override
//    public int getCount() {
//        if (list != null && list.size() > 0) {
//            Log.e("list.size", String.valueOf(list.size()));
//            return list.size();
//        } else {
//            return 0;
//        }
//    }
//
//    @Override
//    public Object getItem(int position) {
//        return list.get(position);
//    }
//
//    @Override
//    public long getItemId(int position) {
//        return position;
//    }
//
//    @Override
//    public View getView(int position, View convertView, ViewGroup parent) {
//        convertView = LayoutInflater.from(activity).inflate(R.layout.item_sign_up_my_team, null);
//
//        TextView name = (TextView) convertView.findViewById(R.id.sign_up_my_team_name_detail);
//        TextView gender = (TextView) convertView.findViewById(R.id.sign_up_my_team_sex_detail);
//        TextView idNumber = (TextView) convertView.findViewById(R.id.sign_up_my_team_id_detail);
//        TextView phoneNumber = (TextView) convertView.findViewById(R.id.sign_up_my_team_phone_detail);
//
//        name.setText(list.get(position).getRealName());
//        gender.setText(list.get(position).getGender());
//        idNumber.setText(list.get(position).getIdNumber());
//        phoneNumber.setText(list.get(position).getPhoneNumber());
//
//        return convertView;
//    }

}
